package cn.edu.scau.cmi.chenjia.abstractFactory;

public abstract class AbstractFactory {
	public static AbstractFactory getFactory(String brand) {
		AbstractFactory abs=null;
		switch (brand) {
		case "wens":
			abs=new WensFactory();
			break; 
		case "tianbang":
			abs=new TianbangFactory();
			break;
		case "aonong":
			abs=new AonongFactory();
			break;
		default:
			break;
		}
		return abs;
		
	}
	public abstract Meat createPork();
	public abstract Meat createChicken();
	public abstract Meat createBeef();

}
